package com.cqw.datamodel;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-11-15 16:56
 * @Description:
 */
public class Test4 {

    public static void main(String[] args) {
        //计算10的阶乘
        int result = 1;
        for (int i = 1; i <= 10; i++) {
            result = result * i;
        }
        System.out.println(result);
    }

}
